# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xclock
pkgver=1.1.0
pkgrel=0
pkgdesc="Clock for the X Window System"
url="https://www.x.org/"
arch="all"
license="MIT"
makedepends="
	libx11-dev
	libxaw-dev
	libxft-dev
	libxkbfile-dev
	libxmu-dev
	libxrender-dev
	"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xclock-$pkgver.tar.xz"
options="!check" # no tests

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
9456ed43cb8afce4a1f1c4edcb87bfb86f61fb54d1892f26812ed10662c9b8f8c28854934ce4eb981090d500fec0f295ba96df9867dd1685dc5f31202729a1a0  xclock-1.1.0.tar.xz
"
